package com.itheima.tanhua.dubbo.service.impl;

import com.itheima.tanhua.dubbo.mappers.MovementsMapper;
import com.itheima.tanhua.dubbo.service.MovementsService;
import com.itheima.tanhua.model.dto.MovementsDto;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author H Monster
 */
@DubboService
public class MovementsServiceImpl implements MovementsService {
    @Autowired
    private MovementsMapper movementsMapper;

    @Override
    public void saveMovements(MovementsDto movementsDto) {
        movementsMapper.saveMovements(movementsDto);
    }
}
